/*
 * @Author: ljb
 * @Description: 
 * @Date: 2021-09-13 22:51:10
 * @LastEditTime: 2021-09-16 23:18:10
 * @FilePath: \blog-vue\vue.config.js
 */
const path = require('path')

function resolve(dir) {
    return path.join(__dirname, dir)
}

module.exports = {
    lintOnSave: true,
    chainWebpack: (config) => {
        config.resolve.alias
            .set('@', resolve('src'))
        
    }
}